package com.woniuxy.seckill.mapper;

import com.hc.entity.Goods;
import org.apache.ibatis.annotations.Select;

public interface GoodsMapper {

    /**
     * 根据id查询商品信息
     * @param id
     * @return
     */
    @Select("select * from hc_goods where id=#{id}")
    Goods findById(Integer id);
}
